package com.qlzb.taskmanagement.vo.quartzVo;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName Config
 * @Description TODO
 * @Authr hxq
 * @Date 2019\10\28 0028
 * @Version v2.0
 */
@Component
public class Config implements InitializingBean {
    @Value("${crawler.synUrl}")
     private String synUrl;

    public static String CRAWLER_SYNURL;

    @Override
    public void afterPropertiesSet() throws Exception {
        CRAWLER_SYNURL = synUrl;
    }
}
